<?php

$routes = array(
    'login'        => new Zend_Controller_Router_Route_Static('/login', array('controller' => 'auth', 'action' => 'login')),
    'logout'       => new Zend_Controller_Router_Route_Static('/logout', array('controller' => 'auth', 'action' => 'logout')),

    'dashboard'     => new Zend_Controller_Router_Route_Static('/admin', array('controller' => 'administration', 'action' => 'index')),
    'configuration' => new Zend_Controller_Router_Route_Static('/admin/configuration', array('controller' => 'setting', 'action' => 'admin')),
    'update_configuration' => new Zend_Controller_Router_Route_Static('/admin/update-configuration', array('controller' => 'setting', 'action' => 'update')),

    'role_admin'   => new Zend_Controller_Router_Route_Static('/admin/roles', array('controller' => 'role', 'action' => 'admin')),
    'role_create'  => new Zend_Controller_Router_Route_Static('/admin/roles/create-role', array('controller' => 'role', 'action' => 'create')),
    'role_edit'    => new Zend_Controller_Router_Route('/admin/roles/edit-role/:role_id', array('controller' => 'role', 'action' => 'edit')),
    'role_delete'  => new Zend_Controller_Router_Route('/admin/roles/delete-role/:role_id', array('controller' => 'role', 'action' => 'delete')),

    'user_admin'   => new Zend_Controller_Router_Route_Static('/admin/users', array('controller' => 'user', 'action' => 'admin')),
    'user_create'  => new Zend_Controller_Router_Route_Static('/admin/users/create-user', array('controller' => 'user', 'action' => 'create')),
    'user_edit'    => new Zend_Controller_Router_Route('/admin/users/edit-user/:user_id', array('controller' => 'user', 'action' => 'edit')),
    'user_delete'  => new Zend_Controller_Router_Route('/admin/users/delete-user/:user_id', array('controller' => 'user', 'action' => 'delete')),
    'user_change_password'  => new Zend_Controller_Router_Route('/admin/users/change-password/:user_id', array('controller' => 'user', 'action' => 'changepassword')),

    'site_admin'   => new Zend_Controller_Router_Route_Static('/admin/sites', array('controller' => 'site', 'action' => 'admin')),
    'site_create'  => new Zend_Controller_Router_Route_Static('/admin/sites/create-site', array('controller' => 'site', 'action' => 'create')),
    'site_edit'    => new Zend_Controller_Router_Route('/admin/sites/edit-site/:site_id', array('controller' => 'site', 'action' => 'edit')),
    'site_delete'  => new Zend_Controller_Router_Route('/admin/sites/delete-site/:site_id', array('controller' => 'site', 'action' => 'delete')),

    'type_admin'   => new Zend_Controller_Router_Route_Static('/admin/types', array('controller' => 'type', 'action' => 'admin')),
    'type_create'  => new Zend_Controller_Router_Route_Static('/admin/types/create-type', array('controller' => 'type', 'action' => 'create')),
    'type_edit'    => new Zend_Controller_Router_Route('/admin/types/edit-type/:type_id', array('controller' => 'type', 'action' => 'edit')),
    'type_delete'  => new Zend_Controller_Router_Route('/admin/types/delete-type/:type_id', array('controller' => 'type', 'action' => 'delete')),

    'object_permissions' => new Zend_Controller_Router_Route_Static('/admin/object-permissions', array('controller' => 'object', 'action' => 'permissions')),
    'object_admin' => new Zend_Controller_Router_Route('/admin/object/:type', array('controller' => 'object', 'action' => 'admin')),
    'object_list_widget' => new Zend_Controller_Router_Route('/admin/object-list-widget/:type', array('controller' => 'object', 'action' => 'listwidget')),
    'object_create'=> new Zend_Controller_Router_Route_Static('/create-object', array('controller' => 'object', 'action' => 'create')),
    'object_edit'  => new Zend_Controller_Router_Route('/admin/edit-object/:object_id', array('controller' => 'object', 'action' => 'edit')),
    'object_delete'=> new Zend_Controller_Router_Route('/admin/delete-object/:object_id', array('controller' => 'object', 'action' => 'delete')),
    'object_action'=> new Zend_Controller_Router_Route('/object/:object_id/:template', array('controller' => 'object', 'action' => 'render')),

    'asset_upload' => new Zend_Controller_Router_Route_Static('/upload-asset', array('controller' => 'asset', 'action' => 'upload')),
);

?>